package io.renren;

import org.junit.Test;

import java.lang.reflect.Method;
import java.util.ArrayList;

public class Mtest {
    @Test
    public void t1() throws Exception{
        Class<?> muser = Class.forName("io.renren.Muser");
        Muser m = (Muser) muser.getDeclaredConstructor().newInstance();
        Method say = muser.getDeclaredMethod("say",String.class);
        say.setAccessible(true);
        say.invoke(m,"成龙");

        ArrayList<String> list = new ArrayList<String>();

    }
}
